﻿using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.Collections.Generic;

namespace PPFinance.UI.Web
{
    [DataContract()]
    public class AssemblyData
    {
        [DataMember()]
        public double Version { get; set; }
        [DataMember()]
        public string DownloadUrl { get; set; }
        [DataMember()]
        public string Group { get; set; }

    }
    [ServiceContract(Namespace = "")]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class AssemblyDownLoad
    {
        [OperationContract]
        public List<AssemblyData> GetAssemblyData()
        {
            List<AssemblyData> ass = new List<AssemblyData>();
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/zh-Hans/Microsoft.CSharp.resources.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/zh-Hans/System.ComponentModel.DataAnnotations.resources.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/zh-Hans/System.Json.resources.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/zh-Hans/System.Windows.Controls.Data.Input.resources.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/zh-Hans/System.Windows.Controls.Data.resources.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/zh-Hans/System.Windows.Controls.Input.resources.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/zh-Hans/System.Windows.Controls.Navigation.resources.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/zh-Hans/System.Windows.Controls.resources.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/zh-Hans/System.Windows.Data.resources.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/zh-Hans/System.Windows.Data.resources.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/Microsoft.CSharp.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/PPFinance.Controls.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/PPFinance.UI.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Json.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Data.DataForm.Toolkit.dll",
                Group = "System",
                Version = 1.1
            }); ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.DataVisualization.Toolkit.dll",
                Group = "System",
                Version = 1.1
            }); ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.dll",
                Group = "System",
                Version = 1.1
            }); ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Input.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Input.Toolkit.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Layout.Toolkit.dll",
                Group = "System",
                Version = 1.1
            }); ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Navigation.dll",
                Group = "System",
                Version = 1.1
            }); ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Theming.BubbleCreme.dll",
                Group = "System",
                Version = 1.1
            }); ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Theming.SystemColors.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Theming.Toolkit.dll",
                Group = "System",
                Version = 1.1
            }); ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Toolkit.dll",
                Group = "System",
                Version = 1.1
            }); ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Toolkit.Internals.dll",
                Group = "System",
                Version = 1.1
            }); ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Data.dll",
                Group = "System",
                Version = 1.1
            }); ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Interactivity.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Theming.BureauBlack.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Data.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
           {
               DownloadUrl = "http://127.0.0.1/AssemblyLir/System.Windows.Controls.Data.Input.dll",
               Group = "System",
               Version = 1.1
           });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/PPFinance.UI.Static.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/PPFinance.UI.NavMenu.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/PPFinance.UI.IndexPage.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/PPFinance.UI.ExpenditureCategory.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/PPFinance.BLL.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/PPFinance.DAL.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.ComponentModel.DataAnnotations.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/PPFinance.UI.ExpenditureCategory.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.ServiceModel.DomainServices.Client.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.ServiceModel.DomainServices.Client.Web.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.ServiceModel.Web.Extensions.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.ServiceModel.DomainServices.Client.dll",
                Group = "System",
                Version = 1.1
            });
            ass.Add(new AssemblyData()
            {
                DownloadUrl = "http://127.0.0.1/AssemblyLir/System.ServiceModel.DomainServices.Client.dll",
                Group = "System",
                Version = 1.1
            });
            return ass;
        }

        // 在此处添加更多操作并使用 [OperationContract] 标记它们
    }
}
